home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / NVRAM.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  506b  |  19 lines

  1. #ifndef _LINUX_NVRAM_H
  2. #define _LINUX_NVRAM_H
  3.  
  4. #include <linux/ioctl.h>
  5.  
  6. /* /dev/nvram ioctls */
  7. #define NVRAM_INIT        _IO('p', 0x40) /* initialize NVRAM and set checksum */
  8. #define    NVRAM_SETCKS    _IO('p', 0x41) /* recalculate checksum */
  9.  
  10. #ifdef __KERNEL__
  11. extern unsigned char nvram_read_byte( int i );
  12. extern void nvram_write_byte( unsigned char c, int i );
  13. extern int nvram_check_checksum( void );
  14. extern void nvram_set_checksum( void );
  15. extern int nvram_init( void );
  16. #endif
  17.  
  18. #endif  /* _LINUX_NVRAM_H */
  19.